package com.ruoyi.wechat;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author chengliang
 * @date 2021/6/18
 **/
@Component
public class WeChatPay {
    @Value("${wechat.merchant}")
    private String merchant;
    @Value("${wechat.apiSecret}")
    private String apiSecret;


    @Value("${wechat.appId}")
    private String appId;







    public String getApiSecret() {
        return apiSecret;
    }

    public void setApiSecret(String apiSecret) {
        this.apiSecret = apiSecret;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getMerchant() {
        return merchant;
    }

    public void setMerchant(String merchant) {
        this.merchant = merchant;
    }
}
